package cn.tedu.csmall.passport.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 添加管理员的DTO类
 *
 * @author Chen
 * @since 2023/1/11 13:04:04
 */
@Data
public class AdminAddNewDTO {

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true, example = "用户名示例")
    private String username;
    /**
     * 密码（原文）
     */
    @ApiModelProperty(value = "密码（密文）", required = true, example = "密码（密文）示例")
    private String password;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", required = true, example = "昵称示例")
    private String nickname;
    /**
     * 头像URL
     */
    @ApiModelProperty(value = "头像URL", required = true, example = "头像URL示例")
    private String avatar;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", required = true, example = "手机号码示例")
    private String phone;
    /**
     * 电子邮箱
     */
    @ApiModelProperty(value = "电子邮箱", required = true, example = "电子邮箱示例")
    private String email;
    /**
     * 简介
     */
    @ApiModelProperty(value = "简介", required = true, example = "简介示例")
    private String description;
    /**
     * 是否启用，1=启用，0=未启用
     */
    @ApiModelProperty(value = "是否启用，1=启用，0=未启用", required = true, example = "1")
    private Integer enable;
    /**
     * 管理员的角色id的数组
     */
    @ApiModelProperty(value = "角色id", required = true, example = "9527")
    private Long[] roleIds;

}
